package com.aistar.mapper;

import com.aistar.pojoVO.DynamicAllVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DynamicAllVOMapper {
    String DYNAMIC_TIME = " d.dynamic_time ";
    String CUSTOMER_ID = " cus.customer_id ";
    String LIKE_COUNT = " praise ";
    String COMMENT_COUNT = " comment ";
    String COLLECT_COUNT = " collect ";

    DynamicAllVO selectByPrimaryKey(Integer dynamicId);

    List<DynamicAllVO> selectByCustomerId(Integer customerId);

    List<DynamicAllVO> selectAll(String orderByClause);
}
